/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.raflik.queryxml.ui.tasks.io;

import org.openide.filesystems.FileObject;
import pl.raflik.queryxml.langservice.QueryLanguage;

/**
 *
 * @author raflik
 */
public class CommonQueryInput {

    private QueryLanguage ql;
    private String query;
    private FileObject is;

    public CommonQueryInput(QueryLanguage ql, String query, FileObject is) {
        this.ql = ql;
        this.query = query;
        this.is = is;
    }

    public FileObject getFileObject() {
        return is;
    }

    public QueryLanguage getQueryLanguage() {
        return ql;
    }

    public String getQuery() {
        return query;
    }

}
